package codefactroy

import (
	"gitee.com/ichub/goconfig/common/ichublog"
	"gitee.com/ichub/goconfig/godi/internal/didto"
	"github.com/stretchr/testify/suite"
	"testing"
)

type TestDiDtoSuite struct {
	suite.Suite
}

func TestDiDtoSuites(t *testing.T) {
	suite.Run(t, new(TestDiDtoSuite))
}

func (this *TestDiDtoSuite) SetupTest() {

	ichublog.InitLogrus()
}

func (this *TestDiDtoSuite) Test001_MakeDi() {
	var dto = didto.NewDiDto()
	dto.PkgName = "didto"
	dto.StructName = "DiDto"
	MakeDi(dto)

}
func (this *TestDiDtoSuite) Test002_FindDi() {
	var dto = didto.FindBeanDiDto()
	dto.PkgName = "didto"
	dto.StructName = "DiDto"
	MakeDi(dto)

}
